package com.yss.service;

import com.yss.domain.Prod;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yss.module.ChangeStock;

public interface ProdService extends IService<Prod>{
    Boolean saveProd(Prod prod);

    Prod queryProdInfoById(Long prodId);

    Boolean modifyProdInfo(Prod prod);

    Boolean removeProdById(Long prodId);

    Prod queryWxProdInfoByProdId(Long prodId);

    /**
     * 修改商品prod和sku库存数量
     * @param changeStock
     * @return
     */
    Boolean changeProdAndSkuChangeStock(ChangeStock changeStock);
}
